﻿<Window x:Class="for7raid.vkPlayer.PlayListWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:control="clr-namespace:for7raid.Control"
        xmlns:local="clr-namespace:for7raid.vkPlayer"
        xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
        Title="вРитме" Icon="..\Icons\button-play.png"
        TextOptions.TextFormattingMode="Display" Style="{StaticResource CustomWindowChrome}" ContentTemplate="{StaticResource FullViewTemplate}"
        ResizeMode="CanResizeWithGrip"
       WindowStyle="None" 
        AllowsTransparency="True" Background="Transparent"
        Name="window" MouseEnter="window_MouseEnter"
        Loaded="window_Loaded" Closed="window_Closed">
    <Window.TaskbarItemInfo>
        <TaskbarItemInfo Overlay="{x:Null}">
            <TaskbarItemInfo.Description>

                <MultiBinding StringFormat="{}{0} - {1}">
                    <Binding Path="CurrentItem.Artist"/>
                    <Binding Path="CurrentItem.Title"/>
                </MultiBinding>

            </TaskbarItemInfo.Description>
            <TaskbarItemInfo.ThumbButtonInfos>
                <ThumbButtonInfoCollection>
                    <ThumbButtonInfo
                    DismissWhenClicked="False"
                    Command="MediaCommands.PreviousTrack"
                    CommandTarget="{Binding}"
                    Description="Предыдущий"
                    ImageSource="..\Icons\button-rew.png"/>
                    <ThumbButtonInfo
                    DismissWhenClicked="True"
                    Command="MediaCommands.Stop"
                    CommandTarget="{Binding}"
                    Description="Остановить"
                    ImageSource="..\Icons\button-stop.png"/>
                    <ThumbButtonInfo
                    DismissWhenClicked="True"
                    Command="MediaCommands.Play"
                    CommandTarget="{Binding}"
                    Description="Играть"
                    ImageSource="..\Icons\button-play.png"/>
                    <ThumbButtonInfo
                    DismissWhenClicked="True"
                    Command="MediaCommands.Pause"
                    CommandTarget="{Binding}"
                    Description="Пауза"
                    ImageSource="..\Icons\button-pause.png"/>
                    <ThumbButtonInfo
                    DismissWhenClicked="False"
                    Command="MediaCommands.NextTrack"
                    CommandTarget="{Binding}"
                    Description="Слудующий"
                    ImageSource="..\Icons\button-ff.png"/>
                </ThumbButtonInfoCollection>
            </TaskbarItemInfo.ThumbButtonInfos>
        </TaskbarItemInfo>
        
    </Window.TaskbarItemInfo>
    <!--<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="../Themes/ListBox.xaml"/>
                <ResourceDictionary Source="../Themes/Button.xaml"/>
                <ResourceDictionary Source="../Themes/SearchButton.xaml"/>
                <ResourceDictionary Source="../Themes/CustomWindowChrome.xaml"/>
                <ResourceDictionary Source="../Themes/Slider.xaml"/>
                <ResourceDictionary Source="../Themes/HyperlinkComboBox.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>-->

    

</Window>
